package com.tuniu.agents.common.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Card {

    // Represents a card with a type, data, and title.
    // The card type, e.g., flight-list-one for a one-way flight list.
    private String cardType;

    // Card information, only one card data is stored, returned as a collection for frontend requirements.
    private List<Object> data;

    // Card title, each card corresponds to one title.
    private String answer;

}
